<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <script>
        window.unbeforeload = function(){
            return "string...";
        }
    </script>
</head>
<body>
   
<script>
    
</script>
</html>